package com.xrit.job;

import java.text.SimpleDateFormat;
import java.util.Date;

public class JobDemo {
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    /**
     * 方法名可以随意
     */
    public void doJob(){
        System.out.println(sdf.format(new Date()));
    }
}
